package com.tangkun.environment.entity.gongzuo;


import com.google.gson.annotations.SerializedName;
import com.tangkun.environment.entity.base.BaseModel;

import java.io.Serializable;
import java.util.List;

/**
 * Created Time: 2017/3/18.
 * <p>
 * Author:tangkun
 * <p>
 * 功能：行业分类
 */
public class CategoryTreeDataReturn extends BaseModel implements Serializable{

    /**
     * data : [{"ord":null,"isParent":false,"address":null,"createTime":null,"children":[{"ord":null,"isParent":false,"address":null,"createTime":null,"children":null,"icon":null,"name":"娱乐2","description":null,"id":"18d7e2fe34894f5ebed3e762d2588ddb","tasknum":null,"parentId":"root"}],"icon":null,"name":"行业分类","description":null,"id":"root","tasknum":null,"parentId":null},{"ord":null,"isParent":false,"address":null,"createTime":null,"children":[{"ord":null,"isParent":false,"address":null,"createTime":null,"children":null,"icon":null,"name":"中餐","description":null,"id":"017c8241d9d44d60b3b0c9bd2e8d4b35","tasknum":null,"parentId":"0eb6baa75c334f9899ff881febc84218"},{"ord":null,"isParent":false,"address":null,"createTime":null,"children":null,"icon":null,"name":"西餐","description":null,"id":"a9e9fcd6650a47ab8d6a059406d32c47","tasknum":null,"parentId":"0eb6baa75c334f9899ff881febc84218"},{"ord":null,"isParent":false,"address":null,"createTime":null,"children":null,"icon":null,"name":"火锅","description":null,"id":"9db34417863b46f98c85b5a19b9c9748","tasknum":null,"parentId":"0eb6baa75c334f9899ff881febc84218"}],"icon":null,"name":"餐饮","description":null,"id":"0eb6baa75c334f9899ff881febc84218","tasknum":null,"parentId":null}]
     */

    public List<DataBean> data;

    public static class DataBean implements Serializable{
        /**
         * ord : null
         * isParent : false
         * address : null
         * createTime : null
         * children : [{"ord":null,"isParent":false,"address":null,"createTime":null,"children":null,"icon":null,"name":"娱乐2","description":null,"id":"18d7e2fe34894f5ebed3e762d2588ddb","tasknum":null,"parentId":"root"}]
         * icon : null
         * name : 行业分类
         * description : null
         * id : root
         * tasknum : null
         * parentId : null
         */

        public String ord;
        public boolean isParent;
        public String address;
        public String createTime;
        public String icon;
        public String name;
        public String description;
        public String id;
        public String tasknum;
        public String parentId;
        public List<ChildrenBean> children;

        public static class ChildrenBean implements Serializable{
            /**
             * ord : null
             * isParent : false
             * address : null
             * createTime : null
             * children : null
             * icon : null
             * name : 娱乐2
             * description : null
             * id : 18d7e2fe34894f5ebed3e762d2588ddb
             * tasknum : null
             * parentId : root
             */

            public String ord;
            public boolean isParent;
            public String address;
            public String createTime;
            public String children;
            public String icon;
            public String name;
            public String description;
            public String id;
            public String tasknum;
            public String parentId;
        }
    }
}
